/* components/chatPanel/index.wxss */
.chat-container{
  display: flex;
  margin-top: 70rpx;
  box-sizing: border-box;
  &.flex-end{
    justify-content: flex-end;
  }
  .chat-icon-l{
    width: 80rpx;
    height: 80rpx;
    border-radius: 222rpx;
    border: 2rpx solid #F4F4F4;
    margin-left: 40rpx;
    margin-right: 34rpx;
  }
  .chat-icon-r{
    width: 80rpx;
    height: 80rpx;
    border-radius: 222rpx;
    border: 2rpx solid #F4F4F4;
    margin-right: 40rpx;
    margin-left: 34rpx;
  }
  .chat-panel{
    max-width: 516rpx;
    padding: 22rpx 34rpx 10rpx;
    border-radius: 0rpx 44rpx 44rpx 44rpx;
    background: #F6F6F6;
    box-sizing: border-box;
    font-family: Arial;
    font-size: 32rpx;
    font-weight: bold;
    line-height: 48rpx;
    color: #3B4254;
    &.npc{
      border-radius: 44rpx 0rpx 44rpx 44rpx;
    }
    &.user{
      background: #4E6CEE;
      color:#fff;
    }
    .voice-box{
      display: flex ;
      align-items: center;
      .wave{
        width: 308rpx;
        height: 58rpx;
        margin-right: 12rpx;
      }

      .text-box{
        flex: 1;
        margin-right: 12rpx;
      }
      
      /* 高亮分词短语 */
      .phrase{
        /* color: #FFDB7A; */
        text-decoration: underline;
        text-decoration-style: dotted;
        text-underline-offset: 8rpx;
      }

      .time{
        font-family: Arial;
        font-size: 32rpx;
        font-weight: normal;
        line-height: 48rpx;
        margin-right: 12rpx;
        margin-left: auto;
      }
      
      .voice-right{
        width: 20rpx;
        height: 30rpx;
        margin-left: auto;
       }
    }
    .image-box{
      margin-top: 10rpx;
      image{
        width: 100%;
      }
    }
    .select-box{
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 18rpx 0;

      .item{
        height: 54rpx;
        border-radius: 6px;
        background: #EDEDED;
        box-sizing: border-box;
        border: 0.8rpx solid #CECECE;
        font-family: PingFang SC;
        font-size: 24rpx;
        font-weight: 500;
        line-height: 54rpx;
        color: #666666;
        padding: 0 20rpx;
        &.active{
          background: #EDF0FF;
          border: 1rpx solid #4E6CEE;
          color: #4E6CEE;
        }
      }
    }
    .link-box{
      display: flex;
      align-items: center;
      margin: 18rpx 0;
      .icon{
        width: 140rpx;
        height: 96rpx;
        margin-right: 10rpx;
      }
      .right{
        .tit{
          font-family: PingFang SC;
          font-size: 24rpx;
          font-weight: 500;
          line-height: 48rpx;
          color: #333333;
          margin-bottom: 4rpx;
        }
        .btn{
          width: 164rpx;
          height: 54rpx;
          border-radius: 6rpx;
          background: #EDF0FF;
          box-sizing: border-box;
          border: 1rpx solid #4E6CEE;
          font-family: PingFang SC;
          font-size: 24rpx;
          font-weight: 500;
          line-height: 48rpx;
          color: #4E6CEE;
          display: flex;
          justify-content: center;
          align-items: center;
          image{
            width: 24rpx;
            height: 24rpx;
            margin-right: 7rpx;
          }
        }
      }
    }
  }
}




